package cn.chrismas.alibaba.nacosdiscoveryprovider.controller;


import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;


/**
 * 事例restFul服务
 * @author chenhongbin
 * @date 20190523
 */
@RestController
public class DemoController {

	@GetMapping("/demo")
	public String demo(String name) {
		return "hello: " + name;
	}
}
